package com.yuanchu.goods.dto;

import com.fasterxml.jackson.annotation.JsonProperty;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.ToString;

import java.io.Serializable;

/**
 * @version: 1.0
 * @Author: adan
 * @description: 查询评论参数dto
 * @date: 2023-12-26 0:41
 */
@ApiModel(value = "评论查询参数dto")
@Data
@ToString
public class QueryCommentParamsDto implements Serializable {

    @ApiModelProperty("当前页码")
    private int page = 1;

    @ApiModelProperty("每页记录数默认值")
    private int limit = 20;
    @ApiModelProperty("评分")
    private Integer score;
    @ApiModelProperty("商品名称")
    private String goodsName;
    @ApiModelProperty("订单编号")
    @JsonProperty("orderNo")
    private Integer orderId;
    @ApiModelProperty("用户id")
    private String userId;
    @ApiModelProperty("状态")
    private Integer status;
}
